import axios from 'axios';
import store from '../store/index';

axios.defaults.baseURL="http://localhost:3000";


axios.interceptors.request.use(function(config){
    // store.commit("mChangeLoading",true)
    // console.log("请求拦截器");

    return config;
})


axios.interceptors.response.use(function(res){
    // store.commit("mChangeLoading",false)
    // console.log("响应拦截器");

    return res;
})



export default axios;